package com.gitee.wsl.security.signature.ecdsa.hash

import com.gitee.wsl.security.hash.SHA256

object EcSha256 : EcHasher {
    override fun hash(data: ByteArray): ByteArray {
        return SHA256.digest(data).bytes
    }
}

val EcHasher.Companion.Sha256 get() = EcSha256